package cn.tedu.clyback.permission.service;

import cn.tedu.clyback.RolePermission.pojo.vo.RolePermissionVO;
import cn.tedu.clyback.permission.pojo.dto.PermissionSelectParam;
import cn.tedu.clyback.permission.pojo.entity.Permission;
import cn.tedu.clyback.permission.pojo.vo.PermissionVO;

import java.util.List;

public interface PermissionService {

    List<PermissionVO> getPermission(PermissionSelectParam permissionSelectParam);

    void deletePermission(Integer permissionId);

    void savePermission(Permission permission);

    List<PermissionVO> unselectPermission(Integer roleId);

    List<RolePermissionVO> selectuserroleById(Integer roleId);
}
